@extends("d.layout.index")
@section("con")
<div class="mws-panel grid_8">
	<div class="mws-panel-header">
    	<span>banner添加</span>
    </div>
    <div class="mws-panel-body no-padding">
    	<form class="mws-form" action="/admin/banner/update" method="post">
    	{{csrf_field()}}
        <input type="hidden" name="id" value="{{$v['id']}}">
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">序号</label>
    				<div class="mws-form-item">
    					<input name="order" class="small" type="text" value="{{$v['order']}}">
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">图片</label>
    				<div class="mws-form-item">
    					<img src="{{$path.'m_'.$v['pic']}}" alt="">
    				</div>
    			</div>
    			<div id="d"></div>
	    		<div class="mws-button-row">
	    			<input value="修改" class="btn btn-danger" type="submit">
	    			<input value="重置" class="btn " type="reset">
	    		</div>
	    	</div>
    	</form>
    </div>    	
</div>
@endsection